package com.site.wisdom_construction.dao.personnelModule;

import com.site.wisdom_construction.entity.personnelModule.EducationLiabilityStatementRecord;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/3/28
 * @Description
 */
public interface EducationLiabilityStatementRecordDao {
    /** 增加入岗教育安全责任书记录 */
    int insertEducationLiabilityStatementRecord(Map map);

    /** 删除入岗教育安全责任书记录 */
    int deleteEducationLiabilityStatementRecord(Map map);

    /** 修改入岗教育安全责任书记录 */
    int updateEducationLiabilityStatementRecord(Map map);

    /** 分页模糊查询安全责任书记录 */
    List<EducationLiabilityStatementRecord> findEducationLiabilityStatementRecordByPage(Map map);

    /** 统计分页总数 */
    long Total(Map map);

    /** 根据id查询安全责任书记录 */
    EducationLiabilityStatementRecord findEducationLiabilityStatementRecordById(Map map);

    /** 根据工人身份证号查询对应安全责任书记录信息 */
    List<EducationLiabilityStatementRecord> findEducationLiabilityStatementRecordByWorkerCard(Map map);

    /** 分页模糊查询教育负责人对应的安全责任书记录 */
    List<EducationLiabilityStatementRecord> findEducationLiabilityStatementRecordByManagerialId(Map map);

    /** 统计分页总数(教育负责人) */
    long TotalByManagerialId(Map map);
}
